package com.saas.after.job.dao;

import com.saas.after.job.entity.SupplierEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Classname CustomerDao
 * @Description TODO
 * @Date 2021/8/17 15:26
 * @Created by hjchen
 */
public interface SupplierRepository extends JpaRepository<SupplierEntity, Long> {

    SupplierEntity findByCode(String code);

    List<SupplierEntity> findByCodeOrNameLike(String code, String name);
}